import request from '@utils/request/index'
// import Qs from 'qs'
export function history(data) {
  return request({
    url: '/dajian/h5/history',
    method: 'post',
    data
  })
}
/* 
export function cargoType(data) {
  return request({
    url: '/dajian/h5/cargoType',
    method: 'post',
    data
  })
}


export function cargoInfo(data) {
  return request({
    url: '/dajian/h5/cargoInfo',
    method: 'post',
    data
  })
}

export function carInfo(data) {
  return request({
    url: '/dajian/h5/carInfo',
    method: 'post',
    data
  })
}

export function cehicleCargoInfo(data) {
  return request({
    url: '/dajian/h5/cehicleCargoInfo',
    method: 'post',
    data
  })
}

export function passInfo(data) {
  return request({
    url: '/dajian/h5/passInfo',
    method: 'post',
    data
  })
}

export function handlerInfo(data) {
  return request({
    url: '/dajian/h5/handlerInfo',
    method: 'post',
    data
  })
}

export function otherInfo(data) {
  return request({
    url: '/dajian/h5/otherInfo',
    method: 'post',
    data
  })
}

 */
export function cargoType(data) {
  return request({
    url: '/gov/cargoKind',
    method: 'post',
    data
  })
}
/* 货物信息 */
export function saveGovCargo(data) {
  return request({
    url: '/gov/cargo',
    method: 'post',
    data
  })
}
/* 车辆信息 */
export function saveGovVehicles(data) {
  return request({
    url: '/gov/vehicles',
    method: 'post',
    data
  })
}
/* 车货总体信息 */
export function saveGovOverAll(data) {
  return request({
    url: '/gov/overAll',
    method: 'post',
    data
  })
}
/* 通行信息 */
export function saveGovGeneralInfo(data) {
  return request({
    url: '/gov/generalInfo',
    method: 'post',
    data
  })
}
/* 经办人 */
export function saveGovAgent(data) {
  return request({
    url: '/gov/agent',
    method: 'post',
    data
  })
}
/* 护送方案 */
export function saveGovConvoyPlan(data) {
  return request({
    url: '/gov/convoyPlan',
    method: 'post',
    data
  })
}
/* 运输计划 */
export function saveGovTransPlan(data) {
  return request({
    url: '/gov/transPlan',
    method: 'post',
    data
  })
}

/* 其他材料保存 */
export function saveGovApplication(data) {
  return request({
    url: '/gov/application',
    method: 'post',
    data
  })
}


/* 测试接口 */
export function otherInfo(data) {
  return request({
    url: '/gov/other',
    method: 'post',
    data
  })
}

